package com.zretc.entity;

/**
 * @author 陈波
 * 排行榜表
 */
public class FilmRank {
    private Integer filmRankId; // 影片排行编号
    private Integer rankNumber; // 排行名称
    private Film film; // 影片对象

    public FilmRank() {
        super();
    }

    public FilmRank(Integer filmRankId, Integer rankNumber, Film film) {
        this.filmRankId = filmRankId;
        this.rankNumber = rankNumber;
        this.film = film;
    }

    public Integer getFilmRankId() {
        return filmRankId;
    }

    public void setFilmRankId(Integer filmRankId) {
        this.filmRankId = filmRankId;
    }

    public Integer getRankNumber() {
        return rankNumber;
    }

    public void setRankNumber(Integer rankNumber) {
        this.rankNumber = rankNumber;
    }

    public Film getFilm() {
        return film;
    }

    public void setFilm(Film film) {
        this.film = film;
    }

    @Override
    public String toString() {
        return "FilmRank{" +
                "filmRankId=" + filmRankId +
                ", rankNumber=" + rankNumber +
                ", film=" + film +
                '}';
    }
}
